package com.teangtang.fly.repository;

import com.teangtang.fly.entity.Traveller;
import org.springframework.data.jpa.repository.JpaRepository;

public interface TravellerRepository extends JpaRepository<Traveller, String> {
    Traveller findByPhone(String phone);

    Traveller findByIdCardAndIdCardType(String idCard, String idCardType);
}
